﻿@model String
@{
    Dictionary<string, object> result = new Dictionary<string, object>();

    var Classes = new List<String>();
    if (!Classes.Contains("form-control"))
    {
        Classes.Add("form-control");
    }
    result.Add("class", string.Join(" ", Classes));
}

@Html.TextArea("", Model, result)